package com.youdianda;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//@EnableMPP // 开启联合主键映射
@MapperScan("com.youdianda.mapper") // 扫描mapper
@SpringBootApplication
@EnableTransactionManagement //开启注解方式的事务管理
public class YouDianDaApplication {
    public static void main(String[] args) {
        SpringApplication.run(YouDianDaApplication.class, args);
    }
}
